﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Planisoft.Entities;

namespace Planisoft.DAO
{
    public class RegPensionarioDAO: MasterDataAcces, IRegPensionarioDAO 
    {

        public List<RegimenPensionario> GetAllFromRegPensionario()
        {
            var query = from rg in Context.RegimenPensionarios
                            orderby rg.DesRegPens
                            select rg;
            return query.ToList();
        }


       
    }
}
